<template>
  <div>
    <el-row :gutter="10">
      <el-col :span="6">
        <Detail title="总销售额" count="¥ 126560">
          <template slot="charts">
            周同比 56.67% <i class="el-icon-upload2"></i> 日同比 19.96%
            <i class="el-icon-download"></i>
          </template>
        </Detail>
      </el-col>
      <el-col :span="6">
        <Detail title="访问量" count="88460">
          <template slot="charts">
            <LineChart></LineChart>
          </template>
        </Detail>
      </el-col>
      <el-col :span="6">
        <Detail title="支付笔数" count="88460">
          <template slot="charts">
            <BarChart></BarChart>
          </template>
        </Detail>
      </el-col>
      <el-col :span="6">
        <Detail title="运营活动效果" count="78%">
          <template slot="charts">
            <ProgressChart></ProgressChart>
          </template>
        </Detail>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import Detail from "./Detail";
import LineChart from "./LineChart";
import BarChart from "./BarChart";
import ProgressChart from "./ProgressChart";

export default {
  name: "Card",
  components: {
    Detail,
    LineChart,
    BarChart,
    ProgressChart,
  },
};
</script>

<style>
</style>